<?php 
$file = $_GET['src'];
	//二进制文件
header("Content-type:application/octet-stream");
//获得文件名
$fileName = basename($file);
//下载窗口显示文件名
header("Content-Disposition:attachment;filename={$fileName}");
header("Accept-ranges:bytes");
header("Accept-length:".filesize($file));
readfile($file);
 ?>